//
//  LastfmTagModule.h
//  LastfmTagModule
//
//  Created by Thomas Backman on 11/21/07.
//  Copyright Thomas Backman 2007. All rights reserved.
//

#import <QSCore/QSObject.h>
#import <QSCore/QSActionProvider.h>
#import "LastfmTagModuleAction.h"
#import "TBSong.h"

#define kLastfmTagModuleAction @"LastfmTagModuleAction"
#define OR 0
#define AND 1

#define REPLACE 0
#define APPEND 1

@interface LastfmTagModuleAction : QSActionProvider {
	NSMutableArray *tmpsongs;
	NSMutableArray *songs;
}

- (QSObject *)createPlaylistFromObject:(QSObject *)dObject usingMode:(NSInteger)mode;
- (NSArray *)tracksOnAlbum:(NSString *) album byArtist:(NSString *) artist trackNamesOnly:(BOOL) trackNamesOnly;
- (NSArray *)iTunesDictionariesForTrack:(NSString *)theTrack byArtist:(NSString *)theArtist;
- (NSMutableArray *)fetchTracksForTag:(NSString *)tmp;

@end